# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="ttf-google-opensans"
pkgver="20180610"
pkgrel=0
pkgdesc="Humanist Sans Serif Typeface"
url="https://github.com/googlefonts/opensans"
arch="noarch"
license="Apache-2.0"
options="!check"
depends="fontconfig mkfontdir mkfontscale"
conflicts="ttf-opensans"
makedepends="font-util-dev"
install="$pkgname.post-install"
source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname.zip"
builddir="$srcdir"/opensans-master

build() {
	return 0
}

package() {
	install -d "$pkgdir/usr/share/fonts/TTF"
	install -m644 hinted_ttfs/*.ttf "$pkgdir/usr/share/fonts/TTF/"
}

sha512sums="4ff6537bb3bb69f3ebb6f0743cefaee72b39e878865e628f4612e28377749b68789ee9db9c04643a2a404d85063ee4c1939523bfd2a905bf44cc001e000ffa30  ttf-google-opensans.zip"
